package com.zmn.plat.services.interfaces.channel;

import java.util.List;

import com.zmn.plat.model.entity.channel.ChannelDepositLog;

/**
 * 渠道押金操作日志
 *
 * @author xiangjunming
 * @since 2019 /08/19 12:14:03
 */
public interface ChannelDepositLogService {

    /**
     * 根据ID查询
     *
     * @param id
     *            the id
     * @return the channel new deposit log
     */
    ChannelDepositLog findByKey(Integer id);

    /**
     * 根据渠道ID查询押金日志
     *
     * @param channelId
     *            the channel id
     * @return the list
     */
    List<ChannelDepositLog> lisyByChannelId(Integer channelId);

    /**
     * 根据ID修改
     *
     * @param record
     *            the record
     * @return the int
     */
    int updateByKey(ChannelDepositLog record);

    /**
     * 新增
     *
     * @param record
     *            the record
     * @return the int
     */
    int insert(ChannelDepositLog record);

    /**
     * 删除
     *
     * @param id
     *            the id
     * @return the int
     */
    int deleteByKey(Integer id);
}